package com.richpay.basejava.base10;

public class Animal {
    String name="animal";
    int age=18;
    static int count=10;

    public Animal(){
        System.out.println("===Animal()===");
    }

    public Animal(String name,int age){
        this.name=name;
        this.age=age;
    }

    public static void show(){
        System.out.println("===Animal.show()===");
    }

    public void eat(){
        System.out.println("===动物吃===");
    }
}
